package cn.itcast.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 结果返回实体类
 *
 * @Author 15198
 * @Date 2022/8/6 17:39
 * @Description: 结果返回
 * @Created by
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {

  private   List<T> hotels;
  private   Long total;

}
